home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 30 / q30.d81 / t.dt128 macro < prev    next >
Text File  |  2022-08-28  |  8KB  |  171 lines

  1.  
  2.  
  3.                         DAVE'S TERM 128 GEnie MACRO
  4.  
  5.                        Text and Macros by Don Graham
  6.  
  7.  
  8.     For all of you fans of DAVE's TERM 128, a very powerful terminal
  9. program/operating system, here's a logon macro to put into your phone
  10. directory that will logon to GEnie automatically.  The main motivator that
  11. caused me to write this macro this way is simply this: I often forget to
  12. open the buffer when I logon and read my email.  I can still go back and
  13. get the email via another, more complex method, but it annoys me that I
  14. forget to do this simple function!  So the logon macro does my remembering
  15. for me.  I guess that's what computers SHOULD do...help us where we are
  16. weak.
  17.  
  18.     All you need to do is place your account number in the spaces where the
  19. x's are, and your password in the space where the y's are.  Don't leave any
  20. extra x's or y's lying around, and don't take any of the other characters
  21. away...each character is critical to the operation of the macro.  Be sure
  22. to activate the logon macro in the telephone directory under the "logon"
  23. column by making it a "yes".  An explanation follows.
  24.  
  25.     Of course, you are strongly encouraged to use this as a model to help
  26. you learn how to make logon macros for other services and BBS's.
  27.  
  28.     First off, here is the logon macro.  You don't have to type it in, just
  29. use the "dir" file enclosed to see what it looks like, and simply build
  30. your phone directory around the example if you like.  Of course, you can
  31. type it into your current phone directory exactly as you see it here, with
  32. the noted changes for phone number, account number, password, etc.  RETURN
  33. means press the RETURN key, NOT the ENTER key.  The ENTER key is the way to
  34. complete the macro entry process.  The RETURN key will produce a reversed
  35. lower case m with a bar across the top of it.  This control character will
  36. execute a RETURN during the execution of the macro.
  37.  
  38. !p3HHH!s/U!>163!>189/xxxxxxxx,yyyyyyyyRETURN!o!dENTER
  39.  
  40.     Here's what happens...
  41.  
  42. !p3        pauses for 3 seconds after connection is made
  43.  
  44. !s/U       These three commands wait for the first
  45. !>163      prompt U#= (ASCIIterminal
  46. !>189/     mode)
  47.  
  48. xxxxxxx,yyyyyyyy    sends your account # and password including the RETURN
  49.  
  50. !o         opens the capture buffer
  51.  
  52. !d         upon logoff and loss of carrier, this command automatically
  53.            SAVES the buffer contents to the default drive.  It remains
  54.            pending during the session, evidenced by the "D" being lit up
  55.            on the terminal status line.
  56.  
  57.     Also included is the uncompiled SCRIPT for DAVE's TERM that will logon
  58. to GEnie, check for email, download it to the buffer if there is any,
  59. logoff after completion or if there is no email, and even SAVE the buffer
  60. containing the email to your disk drive!  Once again this is all
  61. automatically accomplished.  The SCRIPT program can even be set up as an
  62. "autoexec" file that will do this without user intervention upon booting
  63. the program.  A trip to WAL-MART to pick up a timer might even make all of
  64. this happen while you take a nap or watch the SUPERBOWL!
  65.  
  66.     Here are the SCRIPT commands to accomplish this neat task.  For clarity
  67. I've left out some of the RETURN entries...check out the file enclosed
  68. (named "scriptry") for exact contents and appearance.  NOTE: It's a little
  69. tricky creating the characters (reversed #) and (reversed =) on the screen.
  70. That's the reason for the commands !>163 and !>189 in the script.  It's
  71. also tricky printing them out, so they may look a little weird on your
  72. printout.  If the script is properly entered everything should work out
  73. okay.  And don't forget the general script process...
  74.  
  75.  1) write and save source script
  76.  2) compile it
  77.  3) load it
  78.  4) execute it.
  79.  
  80.     Keep these in mind...if you make one little itty bitty change, you must
  81. start the process over.
  82.  
  83.  
  84. NOCARRIER
  85. TRANSMIT 'ATDT5837541'
  86. WAIT 'CARRIER 2400' 20
  87. TERMINAL
  88. SLEEP 0
  89. TRANSMIT 'HHH'
  90. WAIT 'UC' 25
  91. TRANSMIT 'youraccount#,password'
  92. SELECT 20
  93.      CASE 'No letters waiting' GOTO exit
  94.   UNTIL 'WAITING'
  95. WAIT 'continue?' 30
  96. OPENALL
  97. TRANSMIT 'mail'
  98. WAIT '<H>elp?' 30
  99. TRANSMIT '2'
  100. WAIT '<HELP>?' 30
  101. exit TRANSMIT 'bye'
  102.  
  103. FILETYPE S
  104. BSAVE 'AUTOMAIL'
  105. CLOSE
  106.  
  107. END
  108.  
  109.     If you're intending to try scripts, be sure to read up on the BUFFER
  110. docs first.  Since the script is actually written in the buffer, the more
  111. you know about it, the better off you'll be.  The buffer is VERY powerful
  112. and everything you learn about it is useful.  You realize, I suppose, that
  113. you can even write BASIC programs right in the buffer.  That's another
  114. story, though.  I hope you enjoy using this, either as it stands now, or as
  115. a learning tool for building your own scripts and logon macros.  Spend some
  116. time with it...it's really fun!
  117.  
  118.     As for terminal keyboard macros, they're a little trickier than the
  119. rest of this stuff, so let's take a closer look at how they are created.
  120. Again, keep focused and pay attention, and read the docs over a few times.
  121. Terminal keyboard macros allow you to define 26 distinct keys with specific
  122. keystrokes for use in Terminal mode only.  A simple way to create this is
  123. to think about what words or phrases or key combinations you frequently
  124. type, and imagine how much more fun you could have if you only had to press
  125. ONE KEY and have all of that work done for you.
  126.  
  127.     I've listed here some of the combinations I use on the INTERNET and on
  128. certain BBS's.  I've also included a sample keyboard macro file to help you
  129. thru the process.  The file does nothing more than to identify which macro
  130. key you've pressed, but it should help you to create your own.  I think it
  131. was accidentally omitted from the original group of files with issue 26.
  132. Try to imagine typing your INTERNET address every time you get onto a
  133. different system.  I know, you've MEMORIZED your INTERNET address, right?
  134. So what!  Does that mean you have to type it out everytime?  NO!  Put your
  135. INTERNET address on function key #1.  Put your name on function key #2.
  136. Put certain passwords on other function keys or the arrow keys, or the
  137. number keypad.  Here's what I mean....
  138.  
  139.  KEY           MACRO
  140.  --------------------
  141.  F1            d.graham30@genie.com
  142.  F3            don graham
  143.  F5            guest
  144.  F7            anonymous
  145.  plus key      dir
  146.  minus key     cd..
  147.  
  148. and so on, and so on.
  149.  
  150.     When you go to an ftp site these last three macros are real helpful.
  151. You must move all around in directories and it's nice to have single key
  152. commands to do that for you.  It's especially nice to have the RETURN key
  153. built into these commands too.. Remember, when you see the reversed 'm'
  154. with a bar over it, that will be executed as if you pressed the RETURN key.
  155. To complete the macro entry, press the ENTER key on the number pad, just
  156. like when you're entering logon macros (as if you'd all remember that far
  157. back!)  I especially like to put the INTERNET addresses of my favorite
  158. people in the macro.  Then I don't have to remember them, look them up,
  159. etc.  Gettin' the idea now?
  160.  
  161.     The long and short of it is simply this...never type anything that you
  162. can get the computer to type for you.  Turn the long tasks into short
  163. keystrokes.  I know that the docs for DAVE's TERM are somewhat daunting.
  164. It's a powerful program and that power must be nurtured and developed.
  165. Maybe seeing some real world examples like these will help you to learn and
  166. grow.  That's the only way you're going to learn...by doing.  And the more
  167. you do, the more you learn!
  168.  
  169.                           \\\\\ RETURN - Menu \\\\\
  170.  
  171.